package com.wzdigit.wms.basic.client.request.asn.other;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SubmitOtherInItemRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "是否为sn扫描(sn扫描: true,  点收 : false)")
    private boolean isScan;

    @ApiModelProperty(value = "对应的单据明细ID(如果是点收,必须传)")
    private Integer asnDtlId;

    @ApiModelProperty(value = "sn条码")
    private String sn;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;
}
